var goods = document.querySelectorAll('.goods_vice a')
var boxs = document.querySelectorAll('#right_ul')
var gindex = 0
goods.forEach(good => {
    good.gindex = gindex++;
    good.addEventListener('mouseenter', () => {
        goods.forEach(good => {
            good.className = 'goods_point'
        })
        good.className = 'goods_point active'
        boxs.forEach(box => {
            box.className = 'hide'
        })
        boxs[good.gindex].className = ''
    })

})